projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae81c7
)
spl: do not hang in spl_register_fat_device but return error value. It allows to...
author
Guillaume GARDET
<
[email protected]
>
Wed, 15 Oct 2014 15:53:14 +0000
(17:53 +0200)
committer
Tom Rini
<
[email protected]
>
Mon, 27 Oct 2014 21:54:08 +0000
(17:54 -0400)
Do not hang in spl_register_fat_device but return an error value.
It allows to use both CONFIG_SPL_FAT_SUPPORT and CONFIG_SPL_EXT_SUPPORT.
If FAT load fails, then EXT load is tried.
Signed-off-by: Guillaume GARDET <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
common/spl/spl_fat.c
patch
|
blob
|
history
diff --git
a/common/spl/spl_fat.c
b/common/spl/spl_fat.c
index 91481fcc134a9de791c15dc6d773943ba1064ec1..350f7d9fd684f610c223f1dc8a58658b43b7f7eb 100644
(file)
--- a/
common/spl/spl_fat.c
+++ b/
common/spl/spl_fat.c
@@
-30,7
+30,7
@@
static int spl_register_fat_device(block_dev_desc_t *block_dev, int partition)
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
printf("%s: fat register err - %d\n", __func__, err);
#endif
-
hang()
;
+
return err
;
}
fat_registered = 1;